package com.sz.biz.pay.account.dto;

/**
 * Function: TODO: ADD FUNCTION <br>
 * Author: Johnboy <br>
 * Date: 2017-11-21 18:25:00
 */
public class PayAccountDto {
    private String id;
    private int customerId;
    private String thirdType;
    private String thirdId;
    private Integer accountType;
    private String userName;

    public String getThirdId() {
        return thirdId;
    }

    public void setThirdId(String thirdId) {
        this.thirdId = thirdId;
    }

    private String code;
    private String fullName;
    private Double totalBalance;
    private Double totalAmount;
    private Double totalFreezeAmount;
    private String currency;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getThirdType() {
        return thirdType;
    }

    public void setThirdType(String thirdType) {
        this.thirdType = thirdType;
    }

    public Integer getAccountType() {
        return accountType;
    }

    public void setAccountType(Integer accountType) {
        this.accountType = accountType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Double getTotalBalance() {
        if(totalBalance == null){
            return 0.00;
        }
        return totalBalance;
    }

    public void setTotalBalance(Double totalBalance) {
        this.totalBalance = totalBalance;
    }

    public Double getTotalAmount() {
        if(totalAmount == null){
            return 0.00;
        }
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Double getTotalFreezeAmount() {
        if(totalFreezeAmount == null){
            return 0.00;
        }
        return totalFreezeAmount;
    }

    public void setTotalFreezeAmount(Double totalFreezeAmount) {
        this.totalFreezeAmount = totalFreezeAmount;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }
}
